//function shareToXl(title,url,picurl)
//function shareToZone(title,url,picurl){
function share()
{
	window.open('choose.html', 'choose to share','height=200','width=200', 'location=no', 'toolbar=no');
}

//分享到微博
function shareToXl()
{
	//var sharesinastring='http://v.t.sina.com.cn/share/share.php?title='+title+'&url='+url+'&content=utf-8&sourceUrl='+url+'&pic='+picurl;
	var sharesinastring='http://v.t.sina.com.cn/share/share.php?title';
	window.open(sharesinastring,'newwindow','height=800,width=800,top=100,left=100');	
}

//分享到qq空间
function shareToZone(){
	//var shareqqzonestring='http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?summary='+title+'&url='+url+'&pics='+picurl;
	var shareqqzonestring='http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?summary=123&url=www.baidu.com';
	window.open(shareqqzonestring,'newwindow','height=800,width=800,top=100,left=100');
}

//分享到QQ
function shareToQQ(){
	var shareqqstring='http://connect.qq.com/widget/shareqq/index.html?summary=123&url=www.baidu.com';
	window.open(shareqqstring,'newwindow','height=800,width=800,top=100,left=100');
}

//分享到微信
function shareToWX(){
	var sharewxstring='http://open.yixin.im/share?summary=123&url=www.baidu.com';
	window.open(sharewxstring,'newwindow','height=800,width=800,top=100,left=100');
}

//分享到豆瓣
function shareToDB(){
	var sharedbstring='https://www.douban.com/share/service?summary=123&url=www.baidu.com';
	window.open(sharedbstring,'newwindow','height=800,width=800,top=100,left=100');
}

//分享到人人
function shareToRR(){
	var sharerenrenstring='http://widget.renren.com/dialog/share?summary=123&url=www.baidu.com';
	window.open(sharerenrenstring,'newwindow','height=800,width=800,top=100,left=100');
}